package com.opencloud.ywt.client.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 城市信息
 * @author yeyong
 */
@TableName("bhyf_bdb_envdata")
public class BhyfBdbEnvData implements Serializable {

    private static final long serialVersionUID= -964202352621690483L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 基站名称
     */
    @ApiModelProperty(value = "基站名称")
    private String basemac;

    /**
     * 监测时间
     */
    @ApiModelProperty(value = "监测时间")
    private String checktime;

    /**
     * 环境温度
     */
    @ApiModelProperty(value = "环境温度")
    private Float temp;


    /**
     * 环境湿度
     */
    @ApiModelProperty(value = "环境湿度")
    private Integer wet;
    /**
     * 光照
     */
    @ApiModelProperty(value = "光照")
    private Integer light;

    /**
     * PM
     */
    @ApiModelProperty(value = "PM")
    private Integer pm;

    /**
     * 噪音
     */
    @ApiModelProperty(value = "噪音")
    private Integer voice;

    @TableField(fill = FieldFill.INSERT)
    private Date createtime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Float getTemp() {
        return temp;
    }

    public void setTemp(Float temp) {
        this.temp = temp;
    }
    public Integer getWet() {
        return wet;
    }

    public void setWet(Integer wet) {
        this.wet = wet;
    }
    public String getBasemac() {
        return basemac;
    }

    public void setBasemac(String basemac) {
        this.basemac = basemac;
    }

    public String getChecktime() {
        return checktime;
    }

    public void setChecktime(String checktime) {
        this.checktime = checktime;
    }

    public Integer getLight() {
        return light;
    }

    public void setLight(Integer light) {
        this.light = light;
    }

    public Integer getPm() {
        return pm;
    }

    public void setPm(Integer pm) {
        this.pm = pm;
    }

    public Integer getVoice() {
        return voice;
    }

    public void setVoice(Integer voice) {
        this.voice = voice;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "BhyfBdbEnvData{" +
                "id=" + id +
                ", basemac=" + basemac +
                ", wet=" + wet +
                ", light=" + light +
                ", voice=" + voice +
                ", pm=" + pm +
                ", checktime=" + checktime +
                ", createtime=" + createtime +
                ", temp=" + temp +
                "}";
    }
}
